<%@ Page Language="C#" Inherits="My.Blog.Web.Controllers.BasePage" AutoEventWireup="false" %>
<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>文件</title>
    <link type="text/css" rel="Stylesheet" href="_Css/Layout.css" />
    <script type="text/javascript" src="_Resources/Js/jquery.pack.js"></script>
    <script type="text/javascript" src="_Resources/Js/jquery.plugins.js"></script>
</head>
<body>

<%
if( 0<Request.Files.Count )
{
    HttpPostedFile file = Request.Files[0];
    file.SaveAs(@"D:\WorkFlow\"+file.FileName);
}
%>

<form method="post" action="_Ajax/Blog.aspx?op=CreateFile" enctype="multipart/form-data">
<input type="file" name="file"/>
<input type="submit" value="提交" />
</form>

</body>
</html>